using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class HomePage : MonoBehaviour
{
    [SerializeField]
    private GameObject loadingPage;
    private void Awake()
    {
        ScenesManager.Instance.Init();
        ResourceManager.Instance.Init();
        AudioManager.Instance.Init();
    }
    private void Start()
    {
        // AudioClip clip = ResourceManager.Instance.LoadRes<AudioClip>(Const.BGMPath + Const.HomePageBGM);
        // AudioManager.Instance.PlayBGM(clip, true);
    }
    public void NextScene()
    {
        loadingPage.SetActive(true);
    }
}
